-- GENERATED SPELL FOR [Daggerspine Screamer] --


function spell0_2370(pUnit, Event) --@Deafening Screech,n/a--
pUnit:FullCastSpellOnTarget(3589,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2370', 8281, 1)
end

function Sorts_2370(pUnit, Event)
local choix_sorts_2370 = math.random(0, 0)
if choix_sorts_2370 == 0 then
pUnit:RegisterEvent('spell0_2370', 1, 1)
end
end

function mob2370_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2370', math.random(1500, 3000), 1)
end

function mob2370_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2370_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2370_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2370, 1, 'mob2370_Action')
RegisterUnitEvent(2370, 2, 'mob2370_Leave')
RegisterUnitEvent(2370, 3, 'mob2370_Kill')
RegisterUnitEvent(2370, 4, 'mob2370_Die')
